package com.youi.entity;

import java.util.Date;

import com.youi.common.DelStatus;

import java.io.Serializable;


/**
 * 平台提现申请详情
 * @author XJY
 */
public class Plamtwithdrawdetail implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态（0否 1是）
	private Date gmtModify;					    //最后修改时间
	private Long plamtwithdrawId;			    //平台提现申请id
	private Integer status;					    //提现状态(0不可提现 1未提现 2提现中 3提现成功 4提现失败)
	private String withdrawNo;				    //提现单号
	private String orderNo;					    //订单号
	private Double orderAmount;				    //订单金额
	private Double serviceCharge;			    //手续费
	private Double merchantRatio;			    //供应商分润比例
	private Double merchantAmount;			    //供应商分润金额
	private Double platformRatio;			    //平台分润比例
	private Double platformAmount;			    //平台分润金额
	private Double leaderRatio;					//团长分佣比例
	private Double leaderAmount;				//团长分润金额
	private Double platformSum;					//平台分账总额(平台+团长-手续费)

    public Plamtwithdrawdetail(){

    }

    public Plamtwithdrawdetail(Long plamtwithdrawId) {
       this.gmtCreated=new Date();
       this.delStatus=DelStatus.NODEL;
       this.gmtModify=gmtCreated;
       this.plamtwithdrawId=plamtwithdrawId;
    }


    public Plamtwithdrawdetail(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,Long plamtwithdrawId,Integer status,String orderNo,Double orderAmount,Double serviceCharge,Double merchantRatio,Double merchantAmount,Double platformRatio,Double platformAmount,Double leaderRatio,Double leaderAmount,Double platformSum) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.plamtwithdrawId=plamtwithdrawId;
       this.status=status;
       this.orderNo=orderNo;
       this.orderAmount=orderAmount;
       this.serviceCharge=serviceCharge;
       this.merchantRatio=merchantRatio;
       this.merchantAmount=merchantAmount;
       this.platformRatio=platformRatio;
       this.platformAmount=platformAmount;
       this.leaderRatio=leaderRatio;
       this.leaderAmount=leaderAmount;
       this.platformSum=platformSum;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setPlamtwithdrawId(Long plamtwithdrawId){
		this.plamtwithdrawId=plamtwithdrawId;
	}

	public Long getPlamtwithdrawId(){
		return plamtwithdrawId;
	}

	public void setStatus(Integer status){
		this.status=status;
	}

	public Integer getStatus(){
		return status;
	}

	public void setOrderNo(String orderNo){
		this.orderNo=orderNo;
	}

	public String getOrderNo(){
		return orderNo;
	}

	public void setOrderAmount(Double orderAmount){
		this.orderAmount=orderAmount;
	}

	public Double getOrderAmount(){
		return orderAmount;
	}

	public void setServiceCharge(Double serviceCharge){
		this.serviceCharge=serviceCharge;
	}

	public Double getServiceCharge(){
		return serviceCharge;
	}

	public void setMerchantRatio(Double merchantRatio){
		this.merchantRatio=merchantRatio;
	}

	public Double getMerchantRatio(){
		return merchantRatio;
	}

	public void setMerchantAmount(Double merchantAmount){
		this.merchantAmount=merchantAmount;
	}

	public Double getMerchantAmount(){
		return merchantAmount;
	}

	public void setPlatformRatio(Double platformRatio){
		this.platformRatio=platformRatio;
	}

	public Double getPlatformRatio(){
		return platformRatio;
	}

	public void setPlatformAmount(Double platformAmount){
		this.platformAmount=platformAmount;
	}

	public Double getPlatformAmount(){
		return platformAmount;
	}

	public void setLeaderRatio(Double leaderRatio){
		this.leaderRatio=leaderRatio;
	}

	public Double getLeaderRatio(){
		return leaderRatio;
	}

	public void setLeaderAmount(Double leaderAmount){
		this.leaderAmount=leaderAmount;
	}

	public Double getLeaderAmount(){
		return leaderAmount;
	}

	public void setPlatformSum(Double platformSum){
		this.platformSum=platformSum;
	}

	public Double getPlatformSum(){
		return platformSum;
	}

	public String getWithdrawNo() {
		return withdrawNo;
	}

	public void setWithdrawNo(String withdrawNo) {
		this.withdrawNo = withdrawNo;
	}

}
